package com.ccrfid.rmc6.repository.search;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;

import java.util.List;

public interface SearchableRepository<T> {
    Page<T> search(SearchCriteria searchCriteria, Pageable pageable);

    List<T> search(SearchCriteria searchCriteria, Sort sort);
}
